package code._13io.bytestream.buffer;

import java.io.BufferedOutputStream;
import java.io.FileOutputStream;
import java.io.IOException;

public class Demo2 {
    public static void main(String[] args) throws IOException {
        FileOutputStream fileOutputStream = new FileOutputStream("fileTest\\a.txt");
        BufferedOutputStream out = new BufferedOutputStream(fileOutputStream, 4);
        out.write("abcdef".getBytes());
        out.flush();
        out.close();
    }
}
